package com.situ.blog.service;

import com.situ.blog.pojo.Blog;
import com.situ.blog.util.JSONResult;
import com.situ.blog.util.LayUITableJSONResult;

import java.util.List;

public interface IBlogService {
    List<Blog> selectAll();

    LayUITableJSONResult selectByPage(Integer page, Integer limit);

    JSONResult deleteById(Integer id);

    JSONResult add(Blog blog);

    JSONResult selectBlogCount();
}
